package com.venutech.gongan.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel("数据看板")
public class DashboardVO {
    @ApiModelProperty("设备概况 可能是: 1, '可控球机', 2, '固定球机', 3, '固定枪机'，4, '云台枪机'，5, '卡口枪机'，99, '未知'")
    private Map<String, Integer> deviceOverview;

    @ApiModelProperty("设备总数")
    private Integer deviceCount;

    @ApiModelProperty("杆件总数")
    private Integer jkgwCount;

    @ApiModelProperty("二维码数量")
    private Integer jkgwQrCodeCount;

    @ApiModelProperty("绑定设备数")
    private Integer jkgwBindDeviceCount;

    @ApiModelProperty("运维工单统计")
    private Map<String, Integer> opWorkCount;

    @ApiModelProperty("巡检统计, 0: 审批中 1 已通过 2 拒绝")
    private Map<String, Integer> workCount;

    // TODO
    @ApiModelProperty("故障工单")
    private Map<String, Integer> faultWorkCount;

    // TODO
    @ApiModelProperty("人脸识别告警")
    private Integer frAlarmCount;

    // TODO
    @ApiModelProperty("摄像头码流查看")
    private Integer cameraStreamWatchCount;

    // TODO
    @ApiModelProperty("回放查看")
    private Integer cameraHistoryWatchCount;

    @ApiModelProperty("智能巡检")
    private Map<String, Map<String, Integer>> workCountMap;

    @ApiModelProperty("运维管理")
    private Map<String, Map<String, Integer>> opWorkCountMap;
}
